package com.spica.spicaschool.bean

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.Expose
import com.squareup.moshi.JsonClass
import kotlinx.parcelize.Parcelize

@Parcelize
@Entity
@JsonClass(generateAdapter = true)
data class User(
    @Expose
    @PrimaryKey
    val id: Int = 1,
    val uAvatar: String,
    val uBirthday: String?,
    val uExAmount: Int,
    val uExTime: Int,
    val uGender: Int,
    val uId: String,
    val uNickname: String,
    val uPhone: String,
    val uPostNum: Int,
    val uPwd: String?,
    val uRank: Int,
    val uRegTime: String,
    val uSelfdes: String?
) : Parcelable
